package com.yuanfeng.activity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanfeng.activity.dto.NoneGoodsUpdateDTO;
import com.yuanfeng.activity.entity.ActivityNoneGoodsEntity;
import com.yuanfeng.commoms.util.ResponseResult;
import com.yuanfeng.commoms.vo.goods.NoneGoodsQueryDTO;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 *
 */
public interface ActivityNoneGoodsService extends IService<ActivityNoneGoodsEntity> {

    /**
     * 删除活动专区
     *
     * @param param
     * @return
     */
    ResponseResult deleteNoneGoods(NoneGoodsUpdateDTO param);


    /**
     * 添加或更新活动专区商品
     *
     * @param param
     * @return
     */
     ResponseResult updateActivityNoneGoods(NoneGoodsUpdateDTO param);

    /**
     * 查询活动专区商品
     *
     * @param param
     * @return
     */
    ResponseResult queryNoneGoods(NoneGoodsQueryDTO param) throws IllegalAccessException;

    /**
     * 查询活动专区商品
     *
     * @param param
     * @return
     */
    ResponseResult queryActivityGoods(NoneGoodsQueryDTO param) throws IllegalAccessException;


    /**
     * 导出活动专区商品
     *
     * @param param
     * @return
     */
    ResponseResult exportNoneGoods( NoneGoodsQueryDTO param, HttpServletResponse response) throws IllegalAccessException;

    /**
     * 删除专区类型
     *
     * @return
     */
    ResponseResult deleteNoneType(Map<String, Object> param);
}
